import{_ as n,c as s,o as a,a as e}from"./app.4da14fe0.js";const k='{"title":"show.jsp","description":"","frontmatter":{},"headers":[{"level":2,"title":"show.jsp","slug":"show-jsp"}],"relativePath":"javaexp/exp4/Q5/show.md"}',p={},t=e(`<h2 id="show-jsp" tabindex="-1">show.jsp <a class="header-anchor" href="#show-jsp" aria-hidden="true">#</a></h2><div class="language-html line-numbers-mode"><pre><code>&lt;%--
  Created by IntelliJ IDEA.
  User: Reimu
  Date: 2022/5/8
  Time: 0:12
  To change this template use File | Settings | File Templates.
--%&gt;
&lt;%@ page contentType=&quot;text/html;charset=UTF-8&quot; language=&quot;java&quot; %&gt;
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>html</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>head</span><span class="token punctuation">&gt;</span></span>
    <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>title</span><span class="token punctuation">&gt;</span></span>show<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>title</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>head</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>body</span><span class="token punctuation">&gt;</span></span>
&lt;%
  int i, n;
  int sum = 0;
  for (i = 1; i &lt; 1000; i++) {
    for (n = 2; n &lt; i; n++) {
      if (i % n == 0) {
        break;
      }
    }
    if (n == i) {
      sum += i;
    }
  }
%&gt;
1-1000 \u7684\u8D28\u6570\u548C\u4E3A\uFF1A
&lt;%=sum%&gt;
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>body</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>html</span><span class="token punctuation">&gt;</span></span>
</code></pre><div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br></div></div>`,2),l=[t];function c(r,o,i,u,b,m){return a(),s("div",null,l)}var h=n(p,[["render",c]]);export{k as __pageData,h as default};
